//
//  CYEditNicknameViewController.h
//  cyydt
//
//  Created by chu on 2019/1/16.
//  Copyright © 2019 chu. All rights reserved.
//

#import "BaseViewController.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, EditType) {
    EditType_nickname,
    EditType_age,
    EditType_areaName,
    EditType_phone,
};

@protocol CYEditNicknameDelegate <NSObject>

- (void)saveWithValue:(NSString *)value EditType:(EditType)editType;

@end

@interface CYEditNicknameViewController : BaseViewController

@property (weak, nonatomic) IBOutlet UITextField *nicknameTF;
@property (weak, nonatomic) IBOutlet UILabel *indiaLabel;
@property (nonatomic, assign) EditType type;
@property (nonatomic, assign) id<CYEditNicknameDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
